﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EFCore.Models
{
    public class PO_Purchaseorders
    {
        [Key]
        public int P_OIndex { get; set; }
        public string? P_OOrderNumber { get; set; }
        public string? P_OStatus { get; set; }
        public DateTime? P_ODate { get; set; }
        public string? P_OSupplier { get; set; }//供应商S_MIndex
        public string? P_OContactPerson { get; set; }
        public string? P_OContactInformation { get; set; }

        public string? P_OPurchasingDepartment { get; set; }
        public string? P_OPurchaser { get; set; }
        public int? P_OQuantity { get; set; }

        public Decimal? P_OAmount { get; set; }

        public string? P_OPurchased { get; set; }
        public string? P_OCreator { get; set; }
        public string? P_ODepartment { get; set; }
        public DateTime? P_OCreationTime { get; set; }
        public string? P_OApprover { get; set; }
        public DateTime? P_OApproverTime { get; set; }
        public string? P_Reviewcomments { get; set; }
        public string? P_OReamr { get; set; }
        //public Su_Suppliermanagement Su_Suppliermanagement { get; set; }

      
    }
}
